<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>Jump Wiki</title>
		<meta name='gwt:module' content='au.com.gworks.jump.app.wiki.Main'>
		<link rel='stylesheet' href='jump.css'> <!-- ${jump.inject.getJumpCtx} -->
		<script language="javascript">
			// ash u need to strip this down to the essentials
			var envInfo = {};

			envInfo['jump.ctx'] = "";
			envInfo['jump.gwt.rpc'] = "gwt.rpc";
			envInfo['jump.wiki.subctx'] = "wiki";
			envInfo['jump.page.id'] = "11505996--102666970";

			envInfo['contextType'] = "0";
			envInfo['liveUri'] = "/aid/wiki/test/tmp/TestLayout2";
			envInfo['nonRevDocCtx'] = "/wiki/test000";
			envInfo['pathInfo'] = "/test/tmp/TestLayout2";
			envInfo['requestQueryString'] = "null";
			envInfo['requestUri'] = "/aid/wiki/test/tmp/TestLayout2";
			envInfo['requestUriWithQs'] = "/aid/wiki/test/tmp/TestLayout2";
			envInfo['revDocCtx'] = "/wiki/test";
			envInfo['revLastChanged'] = "Thu, 11 May 2006 10:55:15";
			envInfo['toggleUriWithQs'] = "/aid/lhore/test/tmp/TestLayout2";
			envInfo['userName'] = "awimalajeewa";
			envInfo['isAuthenticated'] = "true";
			envInfo['isHeadRevision'] = "true";
			envInfo['requestRevision'] = "null";
			envInfo['wasNamespaceSpecified'] = "true";
			envInfo['wasRevisionSpecified'] = "false";

			envInfo['rpi.baselineRevision'] = "/wiki/test/(r85)/tmp/TestLayout2";
			envInfo['rpi.context'] = "wiki";
			envInfo['rpi.namespace'] = "test";
			envInfo['rpi.path'] = "/tmp/TestLayout2";
			envInfo['rpi.pathStatus'] = "2";
			envInfo['rpi.revSpecifier'] = "null";
			envInfo['rpi.headRevision'] = "85";
			envInfo['rpi.isNamespaceAdmin'] = "true";
			envInfo['rpi.revision'] = "85";
			envInfo['rpi.wasRevisionSpecified'] = "false";
			envInfo['rpi.ra.lastModified'] = "1147370115281";
			envInfo['rpi.ra.lastUpdater'] = "andrew";
			envInfo['rpi.ra.name'] = "TestLayout2";
			envInfo['rpi.ra.parentPath'] = "/tmp";
			envInfo['rpi.ra.size'] = "48";
			envInfo['rpi.ra.uuid'] = "eedf4f6c-462c-7348-b245-3eac4c41f879";
			envInfo['rpi.ra.lastChangedRevision'] = "65";
			envInfo['rpi.ra.properties'] = "{svn:entry:last-author=andrew, svn:entry:uuid=eedf4f6c-462c-7348-b245-3eac4c41f879, svn:entry:committed-date=2006-05-11T17:55:15.281250Z, svn:entry:committed-rev=65}";
			envInfo['rpi.ra.revision'] = "85";

			envInfo['exceptionClass'] = "dummy.exception";
			envInfo['exceptionClass.message'] = "this is dummy problem";


			function getJumpEnvInfo(elem) {
				var ret = envInfo[elem];
				if (ret)
					return ret;
				else
					return null;
			}

			// dojo stuff

			dojoLangIsFunction = function(wh) {
				return (wh instanceof Function || typeof wh == "function");
			}

			dojoDomGetAncestors = function(node, filterFunction, returnFirstHit) {
				var ancestors = [];
				var isFunction = dojoLangIsFunction(filterFunction);
				while(node) {
					if (!isFunction || filterFunction(node)) {
						ancestors.push(node);
					}
					if (returnFirstHit && ancestors.length > 0) { return ancestors[0]; }

					node = node.parentNode;
				}
				if (returnFirstHit) { return null; }
				return ancestors;
			}

			dojoDomGetAncestorsByTag = function(node, tag, returnFirstHit) {
				tag = tag.toLowerCase();
				return dojoDomGetAncestors(node, function(el){
					return ((el.tagName)&&(el.tagName.toLowerCase() == tag));
				}, returnFirstHit);
			}

			dojoDomGetFirstAncestorByTag = function(node, tag) {
				return dojoDomGetAncestorsByTag(node, tag, true);
			}
		</script>
	</head>
	<body>
		<iframe id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe>
		<a name="top"></a>

		<div id="displayAreaPage">
			<div id="displayAreaTopStrip">
			</div>
		  	<div id="displayAreaBanner">


		  	</div>
		  	<div id="displayAreaActionBar"></div>
			<div id="displayAreaBreadcrumbs">
				<a href="/aid/wiki/test/">/</a><a href="/aid/wiki/test/tmp/">tmp</a>/<a href="/aid/wiki/test/tmp?action=search&criteria=&quot;TestLayout2&quot; OR title:&quot;TestLayout2&quot;">TestLayout2</a>
			</div>

			<div id="displayAreaContent">

				<div id="displayAreaContentNorth">

				</div>
				<div id="displayAreaContentEast">

				</div>
				<div id="displayAreaContentWest">

				</div>
				<div id="displayAreaContentMain">
				Layout2<ol><li>alpha<li>beta<li>gamma</ol>thats enough!
			  	</div>

				<div id="displayAreaContentSouth">

				</div>
			</div>

			<div id="displayAreaFooter">
			</div>
			<hr/>
			<div id="jumpDebugArea" style="border: 1px solid #841;">
				<div id="jumpDebugText" style="width:100%; height: 100px; overflow: auto;"></div>
				<button onclick="jumpOutClear();"> clear </button>
			</div>
			<script>
			function jumpOutPrintln(msg) {
			  var out = document.getElementById("jumpDebugText");
			  out.innerHTML =  msg + "<br/>" + out.innerHTML;
			}

			function jumpOutClear() {
			  var out = document.getElementById("jumpDebugText");
			  out.innerHTML = "";
			}
			jumpOutPrintln(">debug window");
			</script>
		</div>
		<script language="javascript" src="gwt.js"></script>
	</body>
</html>
